/**
 * Created by ${PRODUCT_NAME}.
 * User: skylerparr
 * Date: 1/31/11
 * Time: 9:28 AM
 * To change this template use File | Settings | File Templates.
 */
package com.thoughtorigin.display.containers {
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.events.Event;

public class ContainerEvent extends Event {

    public static const RAW_CHILDREN_CHANGE: String = "rawChildrenChange";
    public static const RECALCULATE_BOUNDS: String = "recalculateBounds";

    private var _child: DisplayObject;
    private var _container: Container;

    public function ContainerEvent(type:String, child: DisplayObject, container: Container) {
        super(type, bubbles, cancelable);
        _child = child;
        _container = container;
    }

    public function get child():DisplayObject {
        return _child;
    }

    public function get container():Container {
        return _container;
    }
}
}
